package com.mera.tektronix.csviewer.common.exception;

import java.util.ArrayList;
import java.util.List;

@SuppressWarnings({"rawtypes", "unchecked"})
public class LogicException extends Exception {
	private static final long serialVersionUID = 1L;

	
	private List errors = new ArrayList();
	
	public LogicException() {
		super();
	}
	
	public LogicException(List errors) {
		super();
		this.errors.clear();
		this.errors.addAll(errors);
	}

	public List getErrors() {
		return errors;
	}
}
